package com.aoip.telemetry.telemetry.datastorage.service.impl;

import com.aoip.telemetry.telemetry.datastorage.mapper.OriginalMsgDataSaveMapper;
import com.aoip.telemetry.telemetry.datastorage.service.OriginalMsgDataSaveService;
import com.aoip.telemetry.telemetry.entity.common.TableDataEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author chenbai
 * @version 1.0
 * @date 2022/6/22 16:09
 */
@Service
public class OriginalMsgDataSaveServiceImpl implements OriginalMsgDataSaveService {

    @Resource
    private OriginalMsgDataSaveMapper mapper;
    @Override
    public void saveData(List<TableDataEntity> list) {
        mapper.saveData(list);
    }
}
